package com.shengqiang.cloud.oauth2.model;

/**
 * Created by Administrator on 2017/12/9.
 * 用户认证信息
 */
public class AuthorToken {

    /**
     * 记录Id
     */
    private String tokenUid;

    /**
     * 玩家信息
     */
    private String principal;

    /**
     * 客户的Id
     */
    private String clientId;

    /**
     * 认证授权code
     */
    private String acessCode;

    /**
     * 认证token令牌
     */
    private String accessToekn;

    /**
     * 申请授予的权限
     */
    private String scope;

    /**
     * 令牌过期时间
     */
    private long expireIn;

    /**
     * 刷新令牌
     */
    private String refreshToken;

    public String getTokenUid() {
        return tokenUid;
    }

    public void setTokenUid(String tokenUid) {
        this.tokenUid = tokenUid;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getAcessCode() {
        return acessCode;
    }

    public void setAcessCode(String acessCode) {
        this.acessCode = acessCode;
    }

    public String getAccessToekn() {
        return accessToekn;
    }

    public void setAccessToekn(String accessToekn) {
        this.accessToekn = accessToekn;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public long getExpireIn() {
        return expireIn;
    }

    public void setExpireIn(long expireIn) {
        this.expireIn = expireIn;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }
}
